#!/bin/ksh

/usr/bin/mysql -uroot -proot7ren -e'update  zaoke.`order` set state = 3 where state in (1) and book_time < now();'
/usr/bin/mysql -uroot -proot7ren -e'update  zaoke.`order` set state = 4 where state in (0) and book_time < now();'
